package com.arsn.myf.generate.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 代码生成配置
 *
 * @author zhongrj
 * @since 2022-12-08
 */
@Component
@ConfigurationProperties(prefix = "generate")
public class GenerateConfig {
    /**
     * 文件生成保存基础路径
     */
    public static String basePath;

    public static String getBasePath() {
        return basePath;
    }

    public void setBasePath(String basePath) {
        GenerateConfig.basePath = basePath;
    }
}
